import request from "@/network/request";

export function chapter(pageModel) {
    return request({
        url: '/business/chapter/list',
        params: pageModel
    })
}

export function saveChapter(params) {
    return request({
        url: '/business/chapter/save',
        data: params
    })
}

export function deleteChapter(id) {
    return request({
        url: '/business/chapter/delete/' + id,
    })
}
